package com.quanyan.authority.model.db;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

public class TbAuthorityFunction implements Serializable {
    private Integer id;

    @NotNull(message = "authorityId不能为空!")
    private Integer authorityId;

    @NotNull(message = "functionId不能为空!")
    private Integer functionId;

    static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getAuthorityId() {
        return authorityId;
    }

    public void setAuthorityId(Integer authorityId) {
        this.authorityId = authorityId;
    }

    public Integer getFunctionId() {
        return functionId;
    }

    public void setFunctionId(Integer functionId) {
        this.functionId = functionId;
    }
}